package com.example.demo.设计模式.工厂模式;

public class FactoryB implements Factory{
    @Override
    public Product1 getProduct1() {
        return new Product1B();
    }

    @Override
    public Product2 getProduct2() {
        return new Product2B();
    }
}
